package com.tsd.jxc.goods.service;

import java.util.List;
import java.util.Map;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.goods.entity.JxcGoodsExt;
import com.tsd.jxc.goods.entity.JxcGoodsPrice;
import com.tsd.jxc.goods.entity.JxcGoodsPriceExt;
import com.tsd.system.entity.SysUser;

/**
 * 描述：JxcGoodsPrice服务实现层接口
 *
 * @author david
 * @date 2024/05/06 16:33:50
 */
public interface JxcGoodsPriceService {

    /**
     * 描述：根据id获取JxcGoodsPrice
     *
     * @param id
     */
    JxcGoodsPrice getJxcGoodsPriceById(Long id)throws Exception;

    /**
    * 描述：根据sid获取JxcGoodsPrice
    *
    * @param sid
    */
    JxcGoodsPriceExt queryBySid(String sid)throws Exception;

 	/**
     * 描述：根据sid列表删除JxcGoodsPrice
     *
     * @param list
     */
	void deleteJxcGoodsPrices(List<String> list, SysUser opUser)throws Exception;

    /**
    * 描述：保存或更新JxcGoodsPrice
    *
    * @param record
    * @param opUser
    */
    void saveJxcGoodsPrice(JxcGoodsPrice record, SysUser opUser) throws Exception;

	/**
     * 描述：根据params分页查询JxcGoodsPrice
     *
     * @param params
     * @param page
     */
    List<JxcGoodsPriceExt> findJxcGoodsPrices(Map<String, Object> params, PageBean page) throws Exception;

    /**
    * 描述：根据params分页查询JxcGoodsPrice
    *
    * @param params
    */
    List<JxcGoodsPriceExt> findJxcGoodsPrices(Map<String, Object> params) throws Exception;

    void saveJxcGoodsPrice4Goods(JxcGoodsExt record, SysUser opUser)throws Exception;

    List<JxcGoodsPriceExt> queryByGoodsSid(String goods_sid);

    List<JxcGoodsPriceExt> queryByGoodsList(List<String> goods_list);
}
